package xian.woniu.service;

import xian.woniu.entity.User;

import java.util.List;

/**
 * @author SongHang
 * @time 2022/06/29 16:12:43
 */
public interface IUserService {

    //将审核通过的医生状态改为正常

    void updateUser(User user);


    User login(String userName,String userPassword);

    Integer regist(User user);

    List<User> findAll();

    List<User> findByFlag(Integer flag);

    void updateFlag(User user);
}
